﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace csharphomework2_rectangulartriangle
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Please enter the number of lines and press Enter keyboard：");
            int rows = Convert.ToInt32(Console.ReadLine());
            for (int i = 1; i <= rows; i++)
            {
                for (int j = 1; j <= i; j++)
                { Console.Write("*"); }
                Console.WriteLine("");
            }

            Console.ReadKey();





            }
    }
}
